﻿<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" Debug="true"  %>

<asp:Content ID="indexTitle" ContentPlaceHolderID="TitleContent" runat="server">
  
    Twitt Around Me
</asp:Content>

<asp:Content ID="indexContent" ContentPlaceHolderID="MainContent" runat="server">
 <% using (Html.BeginForm("TwittList", "Home", FormMethod.Post, new { onsubmit="return false;" }))
    { %>
 <p><label for="SearchText">Twitt contenant </label><%= Html.TextBox("SearchText", "", new { style = "width:60px" })%> <input type="submit" value="Rechercher"  onclick="SubmitSearch()" style="float:right"/><br />

    <label for="dist20">20 km</label><input id="dist20" name="distance" type="radio" value="20" />
     <label for="dist10">10 km</label><input id="dist10" name="distance" type="radio" value="10"/>
    <label for="dist5">5 km</label><input id="dist5" name="distance" type="radio" value="5"/>
    <label for="dist1">1 km</label><input id="dist1" name="distance" type="radio" value="1" checked="true"/>
            <input type="hidden" name="Latit" id="latit" />
                    <input type="hidden" name="Longit" id="longit" />
                   
                </p>
    <script src="../../Scripts/GeoLocHome.js" type="text/javascript"></script>
                <%--<h2><%= ViewData["Message"] %></h2>--%>
                <% } %>
   <div id="search_list"></div><br /><br />
         <%= ViewData["Message"] %>
</asp:Content>
